home *** CD-ROM | disk | FTP | other *** search
- Path: dispatch.news.demon.net!demon!polo!john
- From: john@polo.demon.co.uk (John Winters)
- Newsgroups: comp.unix.questions,comp.lang.c
- Subject: Re: Bold ASCII
- Date: Fri, 15 Mar 1996 21:17:19 GMT
- Organization: Wallingford
- Message-ID: <DoBv4w.38B@polo.demon.co.uk>
- References: <4i7cpj$hqa@nexen.nexen.com> <31494BF9.1654@cs.bham.ac.uk>
- X-NNTP-Posting-Host: polo.demon.co.uk
-
- In article <31494BF9.1654@cs.bham.ac.uk>,
- Tom (Ghoti) Kermode <txk@cs.bham.ac.uk> wrote:
- >Matthew B. Doar wrote:
- >>
- >> Anyone know how to get bold strings of text
- >> from a program (termcap related?)
- >>
- >> e.g.
- >>
- >> printf("\012 This is in bold \013\n");
- >>
- >> where \012 and \013 are whatever the magic ascii values
- >> are to turn on and off bold.
- >>
- >> ~Matt
- >
- >The ascii values are \033[1m to turn bold on and \033[0m to turn it off.
- >(out of interest)
-
- I don't *think* ASCII makes any definition of how to turn bold on and
- off. ISO/ANSI C certainly doesn't.
-
- John
-
- --
- John Winters. Wallingford, Oxon, England.
-